#ifndef IMAGEFILE_H_INCLUDED
#define IMAGEFILE_H_INCLUDED

#include "image.h"

class ImageFile{
    public:
        static Binary_Image* loadFromFile(char* filename,int param = 0);
        static Grey_Image* loadFromFile_Grey(char* filename,int param = 0);
        static void saveToFile(Binary_Image* img, char* filename,char* type = "png");
        static void saveToFile(Grey_Image* img, char* filename,char* type = "png");
};



#endif // IMAGEFILE_H_INCLUDED
